// 1.导入 vue-router包
import VueRouter from 'vue-router'
// 导入 Account 组件
import account from './main/Account.vue'
import goodslist from './main/GoodsList.vue'

// 3.创建路由对象
var router = new VueRouter({
    routes: [
        // account goodslist
        {path: '/account', component: account},
        {path: '/goodslist', component: goodslist},
    ]
})

export default router